package cn.abdl.springsecurity.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {
    private String loginUrl;
    private String logoutUrl;
    private String indexUrl;
    private String anonResourceUrl;
    private String rememberMeTimeOut;

    public String getLoginUrl() {
        return loginUrl;
    }

    public void setLoginUrl(String loginUrl) {
        this.loginUrl = loginUrl;
    }

    public String getLogoutUrl() {
        return logoutUrl;
    }

    public void setLogoutUrl(String logoutUrl) {
        this.logoutUrl = logoutUrl;
    }

    public String getIndexUrl() {
        return indexUrl;
    }

    public void setIndexUrl(String indexUrl) {
        this.indexUrl = indexUrl;
    }

    public String getAnonResourceUrl() {
        return anonResourceUrl;
    }

    public void setAnonResourceUrl(String anonResourceUrl) {
        this.anonResourceUrl = anonResourceUrl;
    }

    public String getRememberMeTimeOut() {
        return rememberMeTimeOut;
    }

    public void setRememberMeTimeOut(String rememberMeTimeOut) {
        this.rememberMeTimeOut = rememberMeTimeOut;
    }
}
